package com.jason.kotlin.meta.architecture2.repository

import com.jason.kotlin.meta.architecture2.api.SquareService
import com.jason.kotlin.meta.architecture2.model.*

class SquareApiImpl(private val squareService: SquareService) : SquareApi {

    override suspend fun getSquareData(page: Int): WanApiResponse<WanApiPageResponse<ArticleBean>>
            = squareService.getSquareData(page)

    override suspend fun getSystemData() = squareService.getSystemData()


    override suspend fun getNavigationData() = squareService.getNavigationData()
}